package cn.jly.ssm.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author lanyangji
 * @description
 * @date 2020/12/11 上午 9:31
 */
@Controller
public class HelloController {

    @GetMapping("/hello")
    @ResponseBody
    public String sayHello(String name) {
        return "hello, " + name;
    }
}
